//
//  newsTitleCell.m
//  Discover
//
//  Created by Hornby on 14-10-28.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "newsTitleCell.h"

@implementation newsTitleCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        self.titlelabel = [[UILabel alloc] init];
        [self.contentView addSubview:self.titlelabel];
        [self.titlelabel release];
        
        self.dateLabel = [[UILabel alloc] init];
        [self.contentView addSubview:self.dateLabel];
        [self.dateLabel release];
        
        self.auther_nameLabel = [[UILabel alloc] init];
        [self.contentView addSubview:self.auther_nameLabel];
        [self.auther_nameLabel release];
        
        self.myIamgeView = [[UIImageView alloc] init];
        [self.contentView addSubview:self.myIamgeView];
        [self.myIamgeView release];
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    
//    self.titlelabel.frame = CGRectMake(<#CGFloat x#>, <#CGFloat y#>, <#CGFloat width#>, <#CGFloat height#>)
//    
   
}

- (void)awakeFromNib
{
    // Initialization code
}

- (void)dealloc
{
    [_titlelabel release];
    [_auther_nameLabel release];
    [_dateLabel release];
    [_myIamgeView release];
    [super dealloc];
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
